package cn.ccit.entites;
/**
 * 
 * @author wanghao 
 * 用户表
 */
public class User extends BaseEntity {
	private String password;
	private String phone;
	private int roleId=1;//权限id列表
	private String roleName="服务员";//	权限名
	private int tid;//终端id
	private String tname;//终端门店名

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
	
	

	public String getTname() {
		return tname;
	}

	public void setTname(String tname) {
		this.tname = tname;
	}

	@Override
	public String toString() {
		return "User [password=" + password + ", phone=" + phone
				+ ", authorityId=" + roleId + ", authorityName="
				+ roleName + ", tid=" + tid + ", tname=" + tname + "]";
	}

	public int getTid() {
		return tid;
	}

	public void setTid(int tid) {
		this.tid = tid;
	}

	

	public String getRoleName() {
		return roleName;
	}

	public void setRoleName(String roleName) {
		this.roleName = roleName;
	}

	public int getRoleId() {
		return roleId;
	}

	public void setRoleId(int roleId) {
		this.roleId = roleId;
	}

	
	
}
